regex that all matches blank line

aliases
No value
tags
No value
description
No value
status
No value
project
false
area
false
resource
false
title
regex that all matches blank line
created
2025-03-12T13:25:21
updated
2025-03-12T13:26:05

A regular expression that matches blank lines (lines that contain only whitespace or are completely empty) is:

^\s*$

Explanation:

This regex ensures that lines that contain only whitespace (or nothing at all) are matched.